#ifndef THEKEYPAD_H
#define THEKEYPAD_H
#include <global_variable.h>
#include <QWidget>

class theKeypad : public QWidget
{
    Q_OBJECT
public:
    explicit theKeypad(QWidget *parent = 0);
    void connect_init();
    void ui_init();
//    bool eventFilter(QObject *, QEvent *);
//    void paintEvent(QPainter *event);
    QString  NumKeyBoard;
    QList <QPushButton*> BtnList;
    QPushButton *theBtn[20];
signals:
     void changename2(QString);
public slots:
     void recive_otherdata(QString);
};

#endif // THEKEYPAD_H
